package com.dys.ai.service.impl;

import com.dys.ai.common.api.ApiResponse;
import com.dys.ai.common.api.ResponseEntity;
import com.dys.ai.mapper.UserMapper;
import com.dys.ai.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public ResponseEntity liseUserInfo() {
        return ApiResponse.success("获取用户信息成功",userMapper.selectUserInfo());
    }
}
